#pragma once
#include <iostream>
#include <vector>
#include <string>

class CE_UIRenderer;

class CE_UISprite
{
private:
    
    int _flag;
    float _x;
    float _y;
    float _width;
    float _height;
    float _anchorX;
    float _anchorY;
    float _color[4];
    std::string _shaderPath;
    CE_UIRenderer *_renderer;


public:
    CE_UISprite();

    ~CE_UISprite();
    void setPosition(float x, float y);
    void setSize(float width, float height);
    void setAnchor(float x, float y);
    void setColor(float r, float g, float b, float a);
    void setShader(std::string shaderPath);
    void update();
};
